package com.gsm.dao;

import com.gsm.po.RotationChart;

import java.util.List;

/**
 * 轮播图(RotationChart)表数据库访问层
 *
 * @author wjq
 * @since 2020-12-03 06:13:57
 */
public interface RotationChartDao {

    int insertRotationChart(RotationChart rotationChart);

    int deleteRotationChartByChartId(Long chartId);

    int updateRotationChartByChartId(RotationChart rotationChart);

    RotationChart selectRotationChartByChartId(Long chartId);

    List<RotationChart> selectRotationChartList(RotationChart rotationChart);

    Integer selectMaxShowOrder();

    int updateChartShowOrder(List<Long> list);

}